<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>布局复习一</title>

  <link rel="stylesheet" href="./css/h1.css">

</head>

<body>

  <!-- 压力布局 -->

  <div class="box flex01">

    <div class="box">1111</div>
    <div class="box">2222</div>
    <div class="box">3333</div>
    <div class="box">4444</div>

  </div>

  <!-- 垂直对齐的压力布局 -->
  <div class="box flex02">

    <div class="box"> 哈哈哈 <br> 嘻嘻嘻 <br> 呵呵呵 </div>
    <div class="box"> 黑暗骑士 <br> DarkKnight </div>
    <div class="box">11122233444</div>

  </div>


  <!-- 内联样式 -->
  <div class="box2">

    <div>11111</div>
    <div>22222</div>
    <div>33333</div>

  </div>

  <!-- 固定位置 -->
  <div class="box2 fixed01">
    右下角
  </div>

  <div class="box2 fixed02">
    左上角
  </div>


</body>

</html>